#include "commentType.h"
#include "IVisitor.h"

commentType::commentType(const QString& id, int nodeId):
    SimpleNode(nodeId),
    _id(id)
{
}
    
commentType::~commentType()
{
    
}
    
QString commentType::type() const
{
    return "commentType";
}
    

QString commentType::id()
{
    return _id;
}

void commentType::setId(const QString& id)
{
    _id = id;
}

    
QString commentType::toString() const
{
    return QString("commentType[id=%1]").
                arg(_id);
}
    
void commentType::accept(IVisitor* visitor, const SimpleNodePtr& node)
{
    traverse(visitor);
}
    
void commentType::traverse(IVisitor* visitor)
{
}